import java.awt.Graphics;
import java.awt.Image;


public class StatPanel {
	Image img = ImageLoader.images.get("statPanel");
	int level, points, pairs;
	int x = 549;
	int y = 100;
	
	public StatPanel (int level, int points, int pairs) {
		this.level = level;
		this.points = points;
		this.pairs = pairs;
	}
	
	public void draw (Graphics g) {
		Image levelImage = ImageLoader.images.get("" + level);
		Image pointsImage = ImageLoader.images.get("" + points);
		Image pairsImage = ImageLoader.images.get("" + pairs);

		g.drawImage(img, x, y, null);
		g.drawImage(levelImage, x + 128, y + 50, null);
		g.drawImage(pointsImage, x + 128, y + 180, null);
		g.drawImage(pairsImage, x + 128, y + 330, null);
	}
}
